import java.util.Objects;

public class Study extends Thread{

    int count;
    static boolean done;

    void count(){
        count++;
    }

    public static void main(String[] args) {
        System.out.println(Objects.hash(1,"hh",3));
        System.out.println(Objects.hash(1,"hh",3));
    }

    static class Counter implements Runnable{
        Study study;
        public Counter(Study study){
            this.study = study;
        }
        @Override
        public void run() {
            study.count();
        }
    }

    static class print implements Runnable{
        Study study;
        public print(Study study){
            this.study = study;
        }
        @Override
        public void run() {
            System.out.println(study.count);
            done = true;

        }
    }

}
